﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/TemplateUser.Master" Inherits="System.Web.Mvc.ViewPage" %>
<%@ Import Namespace="ManageBanking.Models" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolderScript" runat="server">
    <link href="../../Content/css/detailnews.css" rel="stylesheet" type="text/css" />
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <div class="center_block_top"><span>&nbsp;</span><h3>News Detail</h3></div> <!--top-->
    
    <div class="center_block_mau"><!--center-->  
        <% NewsBanking n = (NewsBanking)ViewData["detailnews"]; %>
        <div class="detailimg1">
            <div class="detailimg"><img align="left" src='../../Content/images/news/<%= n.imagesnews %>'  width="150" height="150" /></div>
            <div>
                <strong><%= n.titlenews %></strong><br />
                <%= n.contentnews %>                                    
            </div>
            
            <div class="othernews">Other News</div>
            <div>
                <ul>
                  <% foreach (NewsBanking m in (List<NewsBanking>)ViewData["otherNews"])
                     { %>                 
                    <li class="hatakua"><a href='<%= Url.Action("DetailNews/" + m.idnews, "News") %>'><%= m.titlenews %></a></li>
                  <% } %>
                </ul>
            </div>
        </div>
        
    </div> <!-- end center--> 
    
    <div class="center_block_bottom_mau"></div>  <!--bottom-->

</asp:Content>


